Scroll Progress Bar

Programming rules of “C”
  1. Every ‘C’ program file must be saved with an extension.c
  2. Every c program must be written in a function main().
  3. Every statement must be terminated with a semi -colon (;)
  4. Variables must be declared before use them.
  5. Comments are ignored by the compiler and they must be enclosed within /*, and */ symbols.
  6. 'C’ is a case sensitive language.
    • uppercase (CAPITALS)
    • lowercase(small)

What is the rule for ending statements in C?


Semicolon

What rule defines the order in which operators are evaluated in expressions?


Precedence

What rule enforces that variable names in C are case-sensitive?


Case